package day05;

import java.util.Scanner;

/*
    改进

    键盘录入行数和列数，输出对应的星形
 */
public class FunctionDemo4 {
    public static void main(String[] args) {
        starOutPut();
    }

    public static void starOutPut(){
        Scanner sc = new Scanner(System.in);

        int row = sc.nextInt();
        int column = sc.nextInt();

        for(int i=1;i<=row;i++){
            for(int j=1;j<=column;j++){
                System.out.print(" *");
            }
            System.out.println();
        }
    }
}
